package com.roc.service;

import java.io.File;
import java.util.List;
import java.util.Map;

import com.roc.bean.ChangeCheckCountBean;
import com.roc.bean.ErrorCountBean;
import com.roc.pojo.Operators;
import com.roc.pojo.RiskSurveyOrder;
import com.roc.web.action.windcontroll.OrderProcessSearchCondition;

/**
 * 差错管理
 * @author 160711BB
 *
 */
public interface RegisterOrderProcessService {
	
	/**
	 * 登记
	 * @param rso
	 * @param op
	 * @throws ServiceException
	 */
	public Map<String,Object> registerOrderPro(RiskSurveyOrder rso,Operators op) throws ServiceException;
	
	/**
	 * 查询差错详情
	 * @param riskId
	 * @return
	 * @throws ServiceException
	 */
	public RiskSurveyOrder obtainRiskOrderDetail(String riskId) throws ServiceException;
	
	/**
	 * 修改差错管理数据
	 * @throws ServiceException
	 */
	public Map<String,Object> modifyRiskOrder(RiskSurveyOrder rso,Operators op) throws ServiceException;
	
	/**
	 * 删除差错管理数据
	 * @param rso
	 * @param op
	 * @return
	 * @throws ServiceException
	 */
	public Map<String,Object> deleteRiskOrder(String riskId,Operators op) throws ServiceException;
	
	/**
	 * 批量导入差错管理数据
	 * @param upload
	 * @param oper
	 * @param imporNum
	 * @return
	 */
	public Map<String,Object> batchImportOrder(File upload,Operators oper,String imporNum) throws ServiceException;
	
	/**
	 * 差错查询导出查询条数
	 * @param searchCondition
	 * @return
	 * @throws ServiceException
	 */
	public int  queryOrderCount( OrderProcessSearchCondition searchCondition)  throws ServiceException;
	/**
	 * 差错查到导出list
	 * @param searchCondition
	 * @param calcuStart
	 * @param pageMaxSize
	 * @return
	 * @throws ServiceException
	 */
	public  List<ErrorCountBean> queryOrderList(OrderProcessSearchCondition searchCondition ,int calcuStart, int pageMaxSize) throws ServiceException;
	
}
